import { HashRouter } from "react-router-dom";
import { Router } from "./router";
import { useState } from "react";
import { Spin } from "antd";
function App() {
  const [loading] = useState(false);
  return (
    <>
      <Spin spinning={loading} wrapperClassName="root_loading" tip="Loading">
        <HashRouter>
          <Router />
        </HashRouter>
      </Spin>
    </>
  );
}

export default App;
